home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global gMouseDownInButton, gChannelForHighButtons, gUseMenuButton, gCursorIsHand
- set gUseMenuButton to 1
- set hTemp to the mouseH
- set vTemp to the mouseV
- if gMouseDownInButton then
- if isWithinExitButton(hTemp, vTemp) then
- set the visible of sprite gChannelForHighButtons to 1
- updateStage()
- else
- set the visible of sprite gChannelForHighButtons to 0
- updateStage()
- end if
- else
- if isWithinExitButton(hTemp, vTemp) then
- if not gCursorIsHand then
- cursor([9, 10])
- set gCursorIsHand to 1
- end if
- else
- cursor(-1)
- set gCursorIsHand to 0
- end if
- end if
- end
-
- on exitFrame
- go(the frame)
- end
-